projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b062594
)
compare-render: Don't unref an invalid GFile
author
Timm Bäder
<mail@baedert.org>
Sun, 7 Jul 2019 05:23:05 +0000
(07:23 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sun, 7 Jul 2019 05:24:00 +0000
(07:24 +0200)
We already unref it when the g_file_make_directory_with_parents fails.
testsuite/gsk/compare-render.c
patch
|
blob
|
history
diff --git
a/testsuite/gsk/compare-render.c
b/testsuite/gsk/compare-render.c
index a0e68a37cd772f973a92d8646de40c56ed47370d..59a0bd2a3c9d46412d9379b2d0960a74ed34df37 100644
(file)
--- a/
testsuite/gsk/compare-render.c
+++ b/
testsuite/gsk/compare-render.c
@@
-44,8
+44,8
@@
get_output_dir (void)
}
g_error_free (error);
}
-
- g_object_unref (file);
+ else
+
g_object_unref (file);
return output_dir;
}